#include "ActorComponent.h"

class TestComponent : public ActorComponent
{
	double m_counter;

public:
	virtual bool VInit(tinyxml2::XMLElement* pData);
	virtual void VPostInit() { }
	virtual void VUpdate(double deltaSecs);

	static const char* g_name;
	static const ComponentId& g_ID;
	virtual const char *VGetName() const { return g_name; }

	double GetCounter() { return m_counter; }
};

extern ActorComponent* CreateTestComponent();
